import { Injectable } from '@angular/core';
import { environment } from 'src/environments/environment';
import { HttpClient } from '@angular/common/http';



@Injectable({
  providedIn: 'root'
})
export class ServiceWelcomeService {
  public baseUrl:string = environment.myUrl


  constructor(
    private http:HttpClient
  ) { }

  getSentence(){
    return this.http.get(this.baseUrl+'/welcome/GetSentence').toPromise()
  }

}
